package com.cp.properties;

import com.alibaba.druid.spring.boot.autoconfigure.properties.DruidStatProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.PropertySource;

/**
 * Des:
 * <p>
 * druid连接池配置
 *
 * @author XL
 * @Date 2022/2/11 11:36
 */
@PropertySource(value = "classpath:cpDataSourceProperties.yaml")
@ConfigurationProperties("spring.datasource.druid")
@Primary
public class CpDruidStatProperties extends DruidStatProperties {
}
